package org.yucc.util;

import java.util.List;

import weibo4android.Status;
import android.app.Activity;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

public class NewsAdapter extends BaseAdapter {

	private List<Status> news = null;
	@SuppressWarnings("unused")
	private Activity con = null;
	@SuppressWarnings("unused")
	private AsyncImageLoader loader = null;

	public NewsAdapter(Activity con, List<Status> news ) {
		super();
		loader = new AsyncImageLoader();
		this.news = news;
		this.con = con;
	}

	public View getView(int position, View convertView, ViewGroup parent) {

		// Inflate the views from XML
		View rowView = null ;
		
		return rowView;
	}

	@Override
	public int getCount() {
		// TODO Auto-generated method stub
		return news.size();
	}

	@Override
	public Object getItem(int position) {
		// TODO Auto-generated method stub
		return news.get(position);
	}

	@Override
	public long getItemId(int position) {
		// TODO Auto-generated method stub
		return position;
	}

}
